package com.jair.business.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.jair.business.model.dto.Interface.InterfaceInfoAddRequest;
import com.jair.business.model.dto.Interface.InterfaceInfoQueryRequest;
import com.jair.business.model.dto.Interface.InterfaceInfoUpdateRequest;
import com.jair.business.model.entity.InterfaceInfo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.jair.common.reponse.DeleteRequest;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

/**
* @author 20654
* @description 针对表【interface_info(接口信息)】的数据库操作Service
* @createDate 2025-08-02 21:44:03
*/
public interface InterfaceInfoService extends IService<InterfaceInfo> {

   Boolean createInterface(InterfaceInfoAddRequest interfaceInfoAddRequest, HttpServletRequest request);

    Boolean removeInterfaceById(DeleteRequest deleteRequest, HttpServletRequest request);

    Boolean updateInterfaceById(InterfaceInfoUpdateRequest interfaceInfoUpdateRequest, HttpServletRequest request);

    List<InterfaceInfo> listInterface(InterfaceInfoQueryRequest interfaceInfoQueryRequest);

    Page<InterfaceInfo> listInterfaceInfoByPage(InterfaceInfoQueryRequest interfaceInfoQueryRequest, HttpServletRequest request);
}
